remember Background Removal
A composable helper function that creates and remembers a Dock.Button that removes the background of the image of the current page. The button is only visible when the page has an image fill that is not SVG, and its scope allows a fill change.
Return
a button that will be displayed in the dock.
Parameters
configuration that selects the background removal backend.
the builder lambda to override the default builder.
A composable helper function that creates and remembers an InspectorBar.Button that removes the background of the selected image or page. The button is hidden for stickers, and only visible when the block has an image fill that is not SVG, and its scope allows a fill change.
Return
a button that will be displayed in the inspector bar.
Parameters
configuration that selects the background removal backend.
the builder lambda to override the default builder.